<%= form_for([@activity, @product]) do |f| %>
	<%=render "/shared/error_messages", object: @product%>

	<div class="field">
		<%= f.label :name, "奖品名称" %><br>
		<%= f.text_field :name , class: "form-control" %>
	</div>
	<div class="field">
		<%= f.label :amount, "奖品数量"%><br>
		<%= f.number_field :amount , class: "form-control" %>
	</div>
	<div class="field">
		<%= f.label :probability, "中奖概率"%><br>
		<%= f.text_field :probability, class: "form-control" %>
	</div>
	<div class="actions">
		<%= f.submit "提交", class: "btn btn-success"%>
	</div>
<% end %>
